package com.hn.zhijian.system.service;

import com.hn.zhijian.base.service.IBaseService;
import com.hn.zhijian.system.entity.SysDictionaryType;
import com.hn.zhijian.system.model.request.DictionaryTypeRequest;
import com.hn.zhijian.system.model.response.DictionaryTypeResponse;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author carl chen
 * @since 2019-11-17
 */
public interface IDictionaryTypeService extends IBaseService<SysDictionaryType> {

    @Transactional
    public DictionaryTypeResponse save(DictionaryTypeRequest request);

    @Transactional
    public DictionaryTypeResponse update(DictionaryTypeRequest request);

    @Transactional
    public Integer del(Long id);

    public DictionaryTypeResponse get(Long id);

    public List<DictionaryTypeResponse> getDictionaryTypes();
}
